package com.example.service;

import com.example.pojo.Bars;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.Users;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2024-06-06
 */
public interface IBarsService extends IService<Bars> {
    List<Bars> getAllBars();

    List<Users> getUser(String uid);

    void StatusChange(int status,int bid);

    List<Bars> getFindBars(String select,String input);

    //首页展示的人数和评论数
    List<Bars> FindBar(Integer tid);

    List<Bars> getAllBarsByBid(Integer bid);


    List<Bars> userFindBar(Integer uid);

    List<Bars> getBarsCenter(Integer uid);

    List<Bars> getAllApply(Integer bid);

    void addBars(Integer uid, String bname, Integer tid, String bimage);

    void updateBarApply(Integer uid, Integer bid,String otherid);
}
